package com.lzx.orderserver.service;

import com.lzx.commons.entity.Result;
import com.lzx.orderserver.feign.DemoFeignClient;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;

/**
 * @author: wb.liuzhengxing
 * @Title: FeignService
 * @Description:
 * @date: 2022/2/10 17:10
 */
@Component
public class FeignService {
    @Autowired
    private DemoFeignClient demoFeignClient;

    public Result getInfo() {
        return demoFeignClient.info();
    }
}
